<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@include file="/view/jsp/resource.jsp"%>
<!DOCTYPE html>
<html>
<head>
<%@include file="/view/jsp/css.jsp"%>
<link
	href="${ctx}/res/css/plugins/dataTables/dataTables.bootstrap.min.css"
	rel="stylesheet" />
<link href="${ctx}/res/css/plugins/dataTables/jquery.dataTables.min.css"
	rel="stylesheet" />
<link href="${ctx}/res/css/plugins/dropzone/dropzone.css"
	rel="stylesheet" />
<link href="${ctx}/res/css/style.css?v=2.2.0" rel="stylesheet" />
<title>ash快速开发框架</title>
</head>
<body>
	<div id="wrapper">
		<%@include file="/view/jsp/menu.jsp"%>
		<div id="page-wrapper" class="yin-bg dashbard-1">
			<%@include file="/view/jsp/top.jsp"%>
			<!-- 面包屑导航开始 -->
			<div class="row wrapper border-bottom white-bg page-heading">
				<div class="col-lg-6">
					<h2>品牌列表</h2>
					<ol class="breadcrumb">
						<li><a href="${ctx}">主页</a></li>
						<li><a>fang</a></li>
						<li><strong>品牌列表</strong></li>
					</ol>
				</div>
				<div class="col-lg-6">
					<div class="btn-group headerbtn">
						<button class="btn btn-warning checkAll" type="button" class="">
							<i class='fa fa-check-square'></i>全选
						</button>
						<button class="btn btn-primary toggleCheck" type="button">
							<i class='fa fa-check-square-o'></i>反选
						</button>
						<button class="btn btn-info addBtn" type="button">
							<i class='fa fa-plus'></i>新增
						</button>
						<button class="btn btn-danger delBtn" type="button">
							<i class='fa fa-trash-o'></i>删除
						</button>
					</div>
				</div>
			</div>
			<div class="wrapper wrapper-content animated fadeIn ">
				<div class="row editrow">
					<div class="col-lg-8 col-lg-offset-2  ">
						<div class="ibox box-shadow ">
							<div class="ibox-title ">
								<h2 style="width: 90%; float: left" class="leader">新增关注</h2>
								<div class="ibox-tools" style="width: 4%; float: right">
									<a class="collapse-link"> <i class="fa fa-chevron-up"></i>
									</a> <a class="close-link"> <i class="fa fa-times"></i>
									</a>
								</div>
							</div>
							<div class="ibox-content ">
								<form class="form-horizontal m-t validate" id="PinpaiForm"
									action="${ctx}/admin/fang/pinpai/save" method="POST">
									<input type="hidden" name="id" id="id" class="form-control ">
									<div class="form-group">
										<label class="col-sm-3 control-label">名称</label>
										<div class="col-sm-8">
											<input type="text" name="name" id="name" class="form-control ">
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label">logo</label>
										<div class="col-sm-8">
											<input type="hidden" name="imgurl" id="imgurl" class="form-control">
										</div>
									</div>
									<div class="form-group">
										<label class="col-sm-3 control-label">简要说明</label>
										<div class="col-sm-8">
											<textarea name="remark" id="remark" class="form-control ">
											</textarea>
										</div>
									</div>
									<div class="form-group">
										<div class="col-sm-8 col-sm-offset-3">
											<button class="btn btn-primary" type="submit">提 交</button>
											<button class="btn btn-primary resetAddForm" type="button">取消</button>
										</div>
									</div>
								</form>
							</div>
						</div>
					</div>
				</div>
				<div class="row" style="height: 40px;"></div>

				<div class="row">
					<div class="col-lg-12">
						<div class="ibox float-e-margins">
							<div class="ibox-content">
								<table
									class="table table-striped table-bordered table-hover pinpaiDataTable">
									<thead>
										<tr>
											<th></th>
											<th>编号</th>
											<th>名称</th>
											<th>logo</th>
											<th></th>
										</tr>
									</thead>
									<tbody>
									</tbody>
								</table>
							</div>
						</div>
					</div>
				</div>

			</div>
		</div>
	</div>
	</div>
	<div id="pinpaiMenu" class="treemenu">
		<ul id="pinpaiTree" class="ztree " style="margin-top: 0;">
		</ul>
	</div>
	<%@include file="/view/jsp/js.jsp"%>
	<script src="${ctx}/res/js/json2.js"></script>
	<script src="${ctx}/res/js/plugins/dataTables/jquery.dataTables.min.js"></script>
	<script src="${ctx}/res/js/plugins/dataTables/dataTables.bootstrap.min.js"></script>
	<script src="${ctx}/res/js/plugins/validate/jquery.validate.min.js"></script>
	<script src="${ctx}/res/js/plugins/validate/messages_zh.min.js"></script>
	<script src="${ctx}/res/js/plugins/validate/validate_expand.js"></script>
	<script src="${ctx}/res/js/plugins/dropzone/dropzone.min.js"></script>
	<script src="${ctx}/res/js/plugins/dropzone/ash_dz.js"></script>
	<script src="${ctx}/res/js/platform/com/liuhung/ash/fang/pinpai.js"></script>
	<script type="text/javascript">
	$(function(){
		$("#imgurl").ash_dz({deleteAble:false,maxfiles:1});
	})
	</script>
	
</body>

</html>
